package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.pojo.MenuSortPoJo;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author: wufeng
 * @date: 2018/8/9 14:00
 * @desrcption: 排序
 */
@Setter
@Getter
@ToString
public class MenuSortDTO extends BaseDTO {


    private static final long serialVersionUID = -8279317481067384106L;

    @Valid
    @NotEmpty(message = "{dto.msg.menuSort.menuList.NotEmpty}")
    private List<MenuSortPoJo> menuList;


    @NotNull(message = "{dto.msg.menuSort.appId.NotNull}")
    private Long appId;
}
